module.exports = {

  tableName: 'sails_order',
  autoCreatedAt: true,
  autoUpdatedAt: true,
  attributes: {
    id: {
      type: 'integer',
      primary: true,
      required: true,
    },
    customer_openId: {
      type: 'string',
      required: true,
    },
    status: {
      type: 'integer',
    },
    total_quantity: {
      type: 'integer',
      required: true,
    },
    total_amount: {
      type: 'integer',
      required: true
    },
    remark: {
      type: 'string',
    }
  }
}
